#pragma once
#include<iostream>



class Task 
{
public:
    Task()
    {}
    Task(int x,int y):
    _x(x),
    _y(y)
    {}
    void Excute()
    {
        _result=_x+_y;
    }
    void operator()()
    {
        Excute();
    }
    std::string Debug()
    {
        std::string tmp=std::to_string(_x)+"+"+std::to_string(_y)+"=?";
        return tmp;
    }
    std::string Result()
    {
        std::string tmp=std::to_string(_x)+"+"+std::to_string(_y)+"="+std::to_string(_result);
        return tmp;
    }
    ~Task()
    {}
private:
    int _x;
    int _y;
    int _result;
};